<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.pages
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<div class="view home">
    <ul>
        <?php if (in_array('Users.login', $allowedLinks)) { ?>
            <li id="view"><?php
                echo $this->Html->image('login.png');
                echo $this->Html->link('Login', array('controller' => 'users', 'action' => 'login'));
            ?></li>
        <?php }
        if (in_array('Users.add', $allowedLinks)) { ?>
            <li id="view"><?php
                echo $this->Html->image('add.png');
                echo $this->Html->link('Create A New User', array('controller' => 'users', 'action' => 'add'));
            ?></li>
        <?php }
        if (in_array('Awards.view', $allowedLinks)) { ?>
            <li id="view"><?php
                echo $this->Html->image('view.png');
                echo $this->Html->link('View Your Prestige Awards', array('controller' => 'awards'));
            ?></li>
        <?php }
        if (in_array('Awards.add', $allowedLinks)) { ?>
            <li id="request"><?php
                echo $this->Html->image('add.png');
                echo $this->Html->link('Submit A Prestige Award Request For Yourself', array('controller' => 'awards', 'action' => 'request'));
            ?></li><?php }
        if (in_array('Awards.recommend', $allowedLinks)) { ?>
            <li id="recommend"><?php
                echo $this->Html->image('recommend.png');
                echo $this->Html->link('Recommend Prestige Awards For Others', array('controller' => 'awards', 'action' => 'recommend'));
            ?></li>
        <?php }
        if (in_array('Awards.approve', $allowedLinks)) { ?>
        <li id="approve"><?php
            echo $this->Html->image('approve.png');
            echo $this->Html->link('Approve Prestige Awards For Others', array('controller' => 'awards', 'action' => 'approve'));
        ?></li>
        <?php } ?>
    </ul>
</div>